package com.potato.timetable.db.obj;

import androidx.room.Entity;
import androidx.room.PrimaryKey;

@Entity(tableName = "class")
public class ClassDO {
    @PrimaryKey(autoGenerate = true)
    public int cid;


    //课程名
    public String name;
    //老师名字
    public String teacher;

    //课程时长
    public int classLength =0;

    //课程开始节数
    public int classStart =-1;

    //上课地点
    public String classRoom;

    //开始上课的周,用二进制后20位表示是否为本周
    public int weekOfTerm=-1;

    //在周几上课 值1-7
    public int dayOfWeek =0;

    //当前周
    public int nowWeek =1;
}
